import re

if __name__ == '__main__':
    email = input ('Enter your email address: ')
    regex = re.compile(r'^[A-Za-z0-9](\w|\.|-)*[A-Za-z0-9]@([A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9]\.)+[a-zA-Z]{2,3}')

    if match := regex.match(email):
        if match.group() == email:
            print("True")
        else:
            print('False')
    else:
        print('False')